﻿@model MvcTrialerNuGetDatabase.Models.LoginViewModel
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using(Html.BeginForm("Login", "Home", FormMethod.Post)) 
{
    @Html.AntiForgeryToken()
    <span>Email:</span>@Html.TextBoxFor(x => x.Email)<br />
    @Html.ValidationMessageFor(x => x.Email)<br />
    <span>Password:</span>@Html.PasswordFor(x => x.Password)<br />
    @Html.ValidationMessageFor(x => x.Password)<br />
    <input type="submit" value="Login" />
}